package com.cly.dto;

import com.cly.entity.Post;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.util.List;

/**
 * 岗位DTO
 *
 * @author by 春风能解释
 * <p>
 * 2025/2/19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@NoArgsConstructor
@Schema(name = "岗位DTO", description = "岗位DTO")
public class PostDto extends Post {

    /**
     * 序列化ID
     */
    @Serial
    private static final long serialVersionUID = -1020913871189388424L;
    /**
     * 岗位分类ID
     */
    @Schema(description = "岗位分类ID")
    private List<Long> postCategoryIds;
}
